/*
 * Copyright © 2011 SenseForce.com.
 * The Software shall be used for Good, not Evil.
 */

package com.jai2me.foundation;

/**
 * the interface that every jai2me object must implement
 * @author jcccn
 * @site http://www.senseforce.com/
 */

public interface JAIFoundationInterface {


    /**
     * Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.
     * @return The initialized instance
     */
    public Object init();


    /**
     * Returns a string that represents the contents of the receiving class.
     * @return A string that represents the contents of the receiving class.
     */
    public String description();

     /**
     * do something before one objected is released.
     */
    public void release();
}
